<template>
  <div class="form-container">
    <div class="form-header">
      <img src="../../assets/images/post.png" alt="Mail Icon" class="mail-icon" />
      <h3>Fill The Form Below, We Will Contact You Within 12 Hours</h3>
    </div>
    <form class="inquiry-form">
      <input type="text" placeholder="Name" class="form-input" />
      <input type="email" placeholder="Email" class="form-input" />
      <textarea placeholder="Message" class="form-textarea"></textarea>
      <input type="file" class="file-input" />
      <button type="submit" class="submit-btn">Send Inquiry Now</button>
    </form>
    <p class="disclaimer">*Don't Worry! We hate SPAM too!</p>
  </div>
</template>

<style scoped lang="scss">
.form-container {
  width: 400px; /* 可根据需求调整宽度 */
  margin: 20px 50px 70px 120px;
  padding: 20px;
  border: 0.667px solid #ddd; /* 浅灰色边框，可根据需求修改颜色 */
  border-radius: 8px; /* 可选，增加圆角更美观 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 可选，增加阴影 */
}

.form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.mail-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-input,
.form-textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.file-input {
  margin-bottom: 15px;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.disclaimer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}
</style>